﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FillAdd.aspx.cs" Inherits="CY.GFiveWeb.FileService.FillAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>文件服务--上传</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <p>
            文件上传</p>
    </div>
    <div>
        文件编号:<asp:TextBox ID="tb_FileCode" runat="server" />
        文件名称:<asp:TextBox ID="tb_FileName" runat="server" />
        文件类型:<asp:DropDownList ID="ddl_FileCate" runat="server" />
        文件所属部门:<asp:DropDownList ID="ddl_Unit" runat="server" />
    </div>
    <div id="file-item">
        文件项编号:<asp:TextBox ID="tb_ItemCode" runat="server" />
        文件项名称:<asp:TextBox ID="tb_ItemName" runat="server" />
        文件项类:<asp:DropDownList ID="ddl_ItemCate" runat="server" />
        文件编写人:<asp:TextBox ID="ddl_Maker" runat="server" />
        文件项:<input id="file-upload" name="file-upload" type="file" />
    </div>
    <div id="item-wrap">
        <p>
            文件列表</p>
    </div>
    <asp:Button ID="btn_Submit" Text="提交" runat="server" />
    </form>

    <script type="text/javascript" src="../Script/js/jquery-1.3.2.js"></script>

    <script type="text/javascript" src="../Script/js/jquery.MultiFile.js"></script>

    <script type="text/javascript" src="../Script/js/jquery.MultiFile.pack.js"></script>

    <script type="text/javascript">
        $(function(){
            $("#file-upload").MultiFile({
                list:'#item-wrap',
                STRING:{
                    max:5,
                    accept: 'doc|docx|xls|xlsx',
                    remove:'删除',
                    denied:'文件格式不正确!'
                }
            });
        });
    </script>

</body>
</html>
